package cn.rokhdelar.ams.common.domain.po;

import cn.rokhdelar.ams.base.BasePo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 附件实体类
 * @author Rokhdelar
 * @since 2025/3/14 -- 14:50
 **/

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "附件实体对象")
public class Attachment extends BasePo {
    @Schema(description = "原始文件名")
    private String originalName;
    @Schema(description = "相对路径文件名（服务器保存用）")
    private String saveRelativePath;
    @Schema(description = "静态文件访问相对路径(不通过接口访问图片的相对路径URL)")
    private String relativeUrl;
    @Schema(description = "文件扩展名")
    private String fileExt = "";
}
